Skip to content

fixed #12308 - adjusted Python test files to match pytest conventions#5870

Merged
firewave merged 3 commits intocppcheck-opensource:mainfrom
firewave:pytest-x
Jan 13, 2024
Merged

fixed #12308 - adjusted Python test files to match pytest conventions#5870
firewave merged 3 commits intocppcheck-opensource:mainfrom
firewave:pytest-x

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

This allows the tests to be picked up automatically instead of specifying patterns or filenames.

@firewave
Copy link
Copy Markdown
Collaborator Author

To fully leverage this I would like to re-structure all the tests under test and we also need to address https://trac.cppcheck.net/ticket/12274 so the tests can be run from anywhere.

@firewave
Copy link
Copy Markdown
Collaborator Author

I filed https://trac.cppcheck.net/ticket/12339 about making clang-import_test.py work on Windows.

@firewave firewave marked this pull request as ready for review January 12, 2024 10:40
@firewave firewave marked this pull request as draft January 12, 2024 10:54
@firewave firewave marked this pull request as ready for review January 12, 2024 11:04
@firewave firewave changed the title fixed #12308 - adjusted Python test names to match pytest conventions fixed #12308 - adjusted Python test files to match pytest conventions Jan 12, 2024
@firewave firewave merged commit c1da431 into cppcheck-opensource:main Jan 13, 2024
@firewave firewave deleted the pytest-x branch January 13, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants